-- GENERATED SPELL FOR [Mariner Farsight] --


function spell0_24998(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24998', 5327, 1)
end

function Sorts_24998(pUnit, Event)
local choix_sorts_24998 = math.random(0, 0)
if choix_sorts_24998 == 0 then
pUnit:RegisterEvent('spell0_24998', 1, 1)
end
end

function mob24998_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24998', math.random(1500, 3000), 1)
end

function mob24998_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24998_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24998_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24998, 1, 'mob24998_Action')
RegisterUnitEvent(24998, 2, 'mob24998_Leave')
RegisterUnitEvent(24998, 3, 'mob24998_Kill')
RegisterUnitEvent(24998, 4, 'mob24998_Die')
